package com.central.scheduler.spi.register;

/**
 * @author Tindy
 * @date 2021/10/29
 * @describe All registry connection status must be converted to this
 */
public enum RegistryConnectState {
    CONNECTED("connected", 1),
    RECONNECTED("reconnected", 2),
    SUSPENDED("suspended", 3),
    LOST("lost", 4);

    private String description;

    private int state;

    RegistryConnectState(String description, int state) {
        this.description = description;
        this.state = state;
    }
}

